package com.itheima.hmshopping.dubbo.api;


import com.itheima.hmshopping.entity.UmsAdmin;

public interface UmsAdminServiceApi  {
    /**
     * 更新用户信息
     * @param umsAdmin
     */
    void updateById(UmsAdmin umsAdmin);

    /**
     * 根据用户名查询
     * @param usermane
     * @return
     */
    UmsAdmin getUser(String usermane);

    /**
     * 根据id查看用户数据
     * @param id
     * @return
     */
    UmsAdmin selectid(Long id);

    /**
     * 注册用户
     * @param umsAdminParam
     */
    UmsAdmin addAdmin(UmsAdmin umsAdminParam);
}
